﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.IO;
using System.ServiceModel.Web;

namespace Wcf_MapFrame
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“IMapFrameService”。
    [ServiceContract]
    public interface IMapFrameService
    {
        [OperationContract]
        [WebInvoke(UriTemplate = "CreatMapFrame", Method = "*", ResponseFormat = WebMessageFormat.Json)]
        string CreatMapFrame(Stream s);

        [OperationContract]
        [WebInvoke(UriTemplate = "InputShpe", Method = "*", ResponseFormat = WebMessageFormat.Json)]
        string InputShpe(string url);

        [OperationContract]
        [WebInvoke(UriTemplate = "InputShpe_Bat", Method = "*", ResponseFormat = WebMessageFormat.Json)]
        string InputShpe_Bat(string[] urls);
    }
}
